// components/homecrad/homecead.js
Component({
    /**
     * 页面的初始数据
     */
    data: {
        cradTopList: [{
                cradUrl: "/image/card0.png",
                title: "到店取",
                introduce: "提前下单自取"
            },
            {
                cradUrl: "/image/card1.png",
                title: "幸运送",
                introduce: "无接触及时送"
            },
            {
                cradUrl: "/image/card2.png",
                title: "买潮品",
                introduce: "瑞幸颜值周边"
            },
        ],
        cradBottonList: [{
                cradUrl: "/image/card3.png",
                title: "冲4赠3",
                introduce: "咖啡钱包",
            },
            {
                cradUrl: "/image/card4.png",
                title: "礼品卡",
                introduce: "传情达意"
            },
            {
                cradUrl: "/image/card5.png",
                title: "优惠联盟",
                introduce: "超级权益"
            },
            {
                cradUrl: "/image/card6.png",
                title: "福利中心",
                introduce: "天天的福利"
            },
        ],
    },
    methods: {

    },
    /**
     * 生命周期函数--监听页面加载
     */
    onLoad: function (options) {},

    /**
     * 生命周期函数--监听页面初次渲染完成
     */
    onReady: function () {

    },

    /**
     * 生命周期函数--监听页面显示
     */
    onShow: function () {

    },

    /**
     * 生命周期函数--监听页面隐藏
     */
    onHide: function () {

    },

    /**
     * 生命周期函数--监听页面卸载
     */
    onUnload: function () {

    },

    /**
     * 页面相关事件处理函数--监听用户下拉动作
     */
    onPullDownRefresh: function () {

    },

    /**
     * 页面上拉触底事件的处理函数
     */
    onReachBottom: function () {

    },

    /**
     * 用户点击右上角分享
     */
    onShareAppMessage: function () {

    },
})